$def with (work, read_status)

<form method="POST" action="$(work.key)/bookshelves.json?debug=true" class="reading-log-lite">
  <select name="bookshelf_id">
    $ shelf_names = {1: _('Want to Read'), 2: _('Currently Reading'), 3: _('Already Read') }
    $for shelf_id in [1, 2, 3]:
      $ is_selected = read_status == shelf_id
      <option value="$shelf_id" $cond(is_selected, 'selected')>
        $cond(is_selected, '✓') $shelf_names[shelf_id]
      </option>
    <option value="-1">$_('Remove')</option>
  </select>
</form>
